import { configureStore } from '@reduxjs/toolkit'
import testReducer from './Test'
import userReducer from './user'

const store = configureStore({
  reducer: {
    test: testReducer,
    user: userReducer
  }
})

export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
export default store 